import request from '@/utils/request'

export function getNotice(params) {
    return request('/api/notice/getNoticeByUserId', {
        method: 'get',
        params
    })
}

export function checkNotice(params) {
    return request('/api/notice/checkNotice', {
        method: 'post',
        data: params
    })
}

export function deletedNotice(params) {
    return request('/api/notice/deletedNotice', {
        method: 'post',
        data: params
    })
}

export function getNoticeByCreateUser(params) {
    return request("/api/notice/getNoticeByCreateUser", {
        method: 'get',
        params
    })
}

